import request from "@/utils/request";
/**
 *   GET /admin/product/getCategory1  获取getCategory1列表
 */
export const reqGetCategory1List = () => {
  return request.get("/admin/product/getCategory1");
};
/**
 * GET /admin/product/getCategory2/{category1Id}  获取getCategory2列表
 */
export const reqGetCategory2List = (category1Id) => {
  return request.get(`/admin/product/getCategory2/${category1Id}`);
};
/**
 * GET /admin/product/getCategory3/{category2Id}  获取getCategory3列表
 */
export const reqGetCategory3List = (category2Id) => {
  return request.get(`/admin/product/getCategory3/${category2Id}`);
};
